package com.dd.ljzapplication.activity;

import android.graphics.BitmapFactory;
import android.widget.ImageView;

import com.dd.ljzapplication.R;

import base.BaseUtilActivity;

/**
 * Created by LiJZ on 2016/10/12.
 */
public class ShowBigPictureActivity extends BaseUtilActivity {

	private ImageView mImageView;
	private String path;

	@Override
	protected int setLayoutID() {
		return R.layout.activity_big_picture;
	}

	@Override
	protected void init() {
		path = getIntent().getStringExtra("path");
	}

	@Override
	protected void initActionBar() {

	}

	@Override
	protected void initView() {
		mImageView = (ImageView) findViewById(R.id.iv);
		mImageView.setImageBitmap(BitmapFactory.decodeFile(path));
	}

	@Override
	protected void initEvent() {

	}
}
